package com.ljh.springbootprovider;

import com.ljh.common.model.User;
import com.ljh.common.service.UserService;
import com.ljh.myrpc.springboot.starter.annotation.RpcService;
import org.springframework.stereotype.Service;


@Service
@RpcService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("用户名: " + user);
        return user;
    }

    @Override
    public long getNumber() {
        System.out.println("调用getNumber~");
        return 33L;
    }
}
